﻿using Huayou.Common;
using System;
using System.Web;

public class MemberParent : CommonBasePage
{
    public string OrgSid = "";

    protected void CheckLogin()
    {
        if ((HttpContext.Current.Request.Cookies["Company.ID"] != null) && (HttpContext.Current.Request.Cookies["Company.ID"].Value != ""))
        {
            this.OrgSid = HttpContext.Current.Request.Cookies["Company.ID"].Value;
        }
        else
        {
            this.OrgSid = "";
            HttpContext.Current.Response.Redirect("~/Login.aspx");
        }
    }

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
    }
}

